package com.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("ground")
public class Ground {
    private int id;
    private String cName;
    private String cType;
    private float cost;
    private int state;
    private String cCampus;

    public String getcName() {
        return cName;
    }

    public String getcType() {
        return cType;
    }

    public String getcCampus() {
        return cCampus;
    }

    public float getCost() {
        return cost;
    }

    public int getId() {
        return id;
    }

    public int getState() {
        return state;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public void setcType(String cType) {
        this.cType = cType;
    }

    public void setcCampus(String cCampus) {
        this.cCampus = cCampus;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Ground{" +
                "id=" + this.getId() +
                ", c_name='" + this.getcName() + '\'' +
                ", c_type='" + this.getcType() + '\'' +
                ", c_campus='" + this.getcCampus() + '\'' +
                ", cost=" + this.getCost() +
                ", state=" + this.getState() +
                '}';
    }
}
